#include<stdio.h>
#include<string.h>
#include<assert.h>
int my_strcmp(const char * s1, const char * s2)
{
	assert(s1 && s2);
	while(*s1==*s2)
	{
		if(*s1=='\0')
		{
			return 0;
		}
		s1++;
		s2++;
	}
	if(*s1>*s2)
	return 1;
	else
	return -1;
}
int main()
{
	char arr1[]="abcdabc";
	char arr2[]="abceabc";
	int ret = my_strcmp(arr1,arr2);
	if(ret >0)
	{
		printf(">\n");
	}
	else if(ret==0)
	{
		printf("==\n");
	}
	else if(ret <0)
	{
		printf("<\n");
	}
	printf("%d\n",ret);
	return 0;
}
